package win.zxshuo.www.entity;

public class CodeConstant {


    // 通过错误码相关
    public static final Integer GENERAL_FAILED = -1;

    // success 成功相关
    public static final Integer SUCCESS = 200;
    public static final Integer SUCCESS_CREATED = 201;
    public static final Integer SUCCESS_ACCEPTED = 202;

    public static final Integer SUCCESS_WITHOUT_CONTENT =204;




    // 服务器内部错误
    public static final Integer INTERNAL_SERVER_ERROR = 500;
    public static final Integer NOT_IMPLEMENTED = 501;
    public static final Integer BAD_GATEWAY = 502;
    public static final Integer SERVICE_UNAVAILABLE = 503;
    public static final Integer GATEWAY_TIMEOUT = 504;
    public static final Integer HTTP_VERSION_NOT_SUPPORTED = 505;

}
